<template>
  <div class="empty">
    <div>
      <i
        class="el-icon-chat-dot-round"
        style="font-size: 30px"
      ></i>
    </div>
    <div>
      {{ tips }}
    </div>
  </div>
</template>

<script>
export default {
  name: "Empty",
  props: {
    tips: {
      type: String,
      default: "暂无数据"
    }
  }
};
</script>

<style lang="scss" scoped>
@import "~@/styles/variables.scss";

.empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80px;
  color: $border_color;
  user-select: none;
  div {
    flex: 1;
    display: flex;
    align-items: center;
  }
}
</style>
